package com.by.apis.goods;

import com.by.model.common.dtos.PageResponseResult;
import com.by.model.common.dtos.ResponseResult;
import com.by.model.goods.pojo.ApGoods;

import java.util.List;

public interface ApGoodsApis {

    /*
    * 添加
    */
    ResponseResult add(ApGoods apGoods);

    /*
     * 删除
     */

    ResponseResult del(ApGoods apGoods);
    /*
     * 修改
     */

    ResponseResult update(ApGoods apGoods);
    /*
     * 查询
     */
    PageResponseResult listAll();

    /*
     * 状态操作
     */
    ResponseResult status(ApGoods apGoods);
}
